package com.bwie.auth;/**
 * @Author：ShenJiaFeng
 * @Package：com.bwie.service
 * @Project：zg6_yuekao
 * @name：AuthService
 * @Date：2024/5/17 9:59
 */

import com.bwie.common.domain.User;
import com.bwie.common.domain.response.UserResponse;
import com.bwie.common.result.Result;

/**
 *@Author：ShenJiaFeng
 *@Package：com.bwie.service
 *@Project：zg6_yuekao
 *@name：AuthService
 *@Date：2024/5/17 9:59
 *@Description:
 */
public interface AuthService {
    Result sendCode(String phone);
    //登录
    Result<UserResponse> login(String phone,String code);
    User userInfo();
}
